import java.math.BigDecimal;

public class hello {
    public static void main(String[] args) {
        System.out.println("你不想干运维相关的工作吗？");
        double a = 1.111111111;
        double b = 1.111111112;
        System.out.println(compareDouble(a,b));
        System.out.println(BigDecimal.valueOf(a).compareTo(BigDecimal.valueOf(b)) == 0);
    }
    public static boolean compareDouble(double a,double b){
        double epsilon = 1e-9;
        return Math.abs(a - b) < epsilon;
    }
}
